// 个人中心api
import http from '@/utils/request.js'
export default {
  getMillData: (params = {}) => http.post('/miningMachine/getHomeData', params),
  //获取到所有可用的矿机数据
  pageDisplayMiningMachine: (params = {}) =>
    http.post('/miningMachine/pageDisplayMiningMachine', params),
  //租赁矿机弹窗数据
  getLeaseMiningMachineInfo: (params = {}) =>
    http.post('/miningMachine/getLeaseMiningMachineInfo', params),
  //租赁矿机
  leaseMiningMachine: (params = {}) =>
    http.post('/miningMachine/leaseMiningMachine', params),
  //获取到用户租赁过的矿机
  pageMineMiningMachine: (params = {}) =>
    http.post('/miningMachine/pageMineMiningMachine', params),
}
